package Tools;
import entity.Dessert;
import java.awt.*;
import java.util.ArrayList;

public class Tool {
    //获取背景图片
    public static Image bgImg=Toolkit.getDefaultToolkit().getImage("src/res/03.jpg");
    public static Image bgScoreImg=Toolkit.getDefaultToolkit().getImage("src/res/score.png");
    public static Image ScoreImgNo1=Toolkit.getDefaultToolkit().getImage("src/res/number/0.png");
    public static Image ScoreImgNo2=Toolkit.getDefaultToolkit().getImage("src/res/number/0.png");
    public static Image ScoreImgNo3=Toolkit.getDefaultToolkit().getImage("src/res/number/0.png");
    public static Image ScoreImgNo4=Toolkit.getDefaultToolkit().getImage("src/res/number/0.png");
    public static Image baskedImg=Toolkit.getDefaultToolkit().getImage("src/res/l1.png");
    public java.util.List<Image> getDessert(){
        java.util.List<Image> list= new ArrayList<>();
        for (int i = 1; i <12; i++) {
            list.add(Toolkit.getDefaultToolkit().getImage("src/res/p"+i+".png"));
        }
        return list;
    }
}
